package com.ruoyi.system.domain.module.asset;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * 资产借用记录对象 estate_asset_borrow_record
 *
 * @author ruoyi
 * @date 2025-01-20
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("estate_asset_borrow_record")
public class EstateAssetBorrowRecord implements Serializable {

    private static final long serialVersionUID = 1L;


    /**
     * $column.columnComment
     */
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;

    /**
     * 小区id
     */
    private Integer estateId;

    /**
     * 资产id
     */
    private Integer assetId;

	@TableField(exist = false)
	private String estateName;

	@TableField(exist = false)
	private String assetName;

	@TableField(exist = false)
	private String fromRecordName;
    /**
     * 从谁那接来的信息id
     */
    private Integer fromRecordId;

    /**
     * 微信用户id
     */
    private Integer wxUserId;

    /**
     * 系统管理员id
     */
    private Integer sysUserId;

    /**
     * 借用人姓名
     */
    private String realName;

    /**
     * 借用人昵称
     */
    private String nickName;

    /**
     * 借用人手机号
     */
    private String phoneNum;

    /**
     * 接口时间
     */
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    /**
     * 借用的备注信息
     */
    private String remark;

    /**
     * 状态 0 -
     */
    private Integer state;

	/**
	 *	归还备注
	 */
	private String rebackRemark;

	/**
	 * 归还时间
	 */
	private String rebackTime;


}
